package com.huazai.elastic.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


/**
 * @author huazai
 * @date 2024/8/2
 */
@Data
@Document(indexName = "user")
public class ESUser {
    @Id
    private String id;
    private String username;
    private String address;
    private Integer age;
    private String gender;
}
